﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BusinessPlatform.Data;

namespace NewStartModels.Models.ModelServices
{
    public interface ICurrentUser
    {
        /// <summary>
        /// 用户内部Id编号
        /// </summary>
        int UserId { get; }
        /// <summary>
        /// 用户代码
        /// </summary>
        string UserCode { get; }
        /// <summary>
        /// 用户名
        /// </summary>
        string UserName { get; }
        /// <summary>
        /// 用户密码
        /// </summary>
        string Password { get; }
        /// <summary>
        /// 超级用户
        /// </summary>
        Enumerator.BOYesOrNo IsSupperUser { get; }
        /// <summary>
        /// 登陆时间
        /// </summary>
        DateTime LoginDateTime { get; }
        /// <summary>
        /// 登陆机器名称
        /// </summary>
        string LoginMachineName { get; }
        /// <summary>
        /// 登陆IP
        /// </summary>
        string LoginMachineIP { get; }

    }
}
